package com.cskaoyan.javase.wrapper;
/**
 * 
 * @since 21:45
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo2 {
    public static void main(String[] args) {
        System.out.println(Byte.MAX_VALUE + 1);
        System.out.println(Character.MAX_VALUE + 1);
        // Numeric overflow in expression
        System.out.println(Integer.MAX_VALUE + 1);
        System.out.println(Long.MAX_VALUE + 1);

        // String --> char 用String类的API charAt
        String str = "a";
        char c = str.charAt(0);
        System.out.println(c);

    }
}
